package georah.map.providers
{

	import georah.carto.IGISClient;
	import georah.map.layers.ITiledLayerProvider;

	/**
	 *
	 * @author yuanm
	 */
	public final class WMSTiling implements ITiledLayerProvider
	{
		private var _baseurl:String="";

		private var _numCols:int=1;

		private var _numRows:int=1;

		private var _offsetX:Number=0.0;

		private var _offsetY:Number=0.0;

		private var _tileheight:Number=256;

		private var _tilewidth:Number=256;

		public final function get baseURL():String
		{
			return _baseurl;
		}

		public final function set baseURL(value:String):void
		{
			_baseurl=value;
		}

		public final function get numCols():int
		{
			return _numCols;
		}

		public final function get numRows():int
		{
			return _numRows;
		}

		public final function get offsetX():Number
		{
			return _offsetX;
		}

		public final function get offsetY():Number
		{
			return _offsetY;
		}

		public final function get tileHeight():Number
		{
			return _tileheight;
		}

		public final function tileURLof(col:int, row:int):String
		{
			return "";
		}

		public final function get tileWidth():Number
		{
			return _tilewidth;
		}

		public final function update(view:IGISClient):void
		{

		}

	}
}
